#!/bin/sh

for name in $(mvim --serverlist)
do
  cmd="${cmd}${cmd+,}remote_expr('$name','v:servername.\":\".expand(\"%:p\").\":\".line(\".\").\":\".col(\".\")')"
done
mvim --remote-expr "[$cmd]"
